class Resume < ActiveRecord::Base
  belongs_to :member
  belongs_to :state
  
  validates_presence_of(:member_id, :message => "Falta id do membro")
  validates_presence_of(:state_id, :message => "Falta id do estado")
  
  validates_associated(:member)
  validates_associated(:state)
end
